#!/usr/local/bin/python
# -*- coding: utf-8 -*-
# Class redis:

import worker_cloud
import worker
import dispatcher
import local_dispatcher

if __name__ == '__main__':
    print 'begin'
#     r = redis.Redis(host ='10.2.10.103')
    client = dispatcher.PSListener(['channel:ionline:login'], 0)
#     client = local_dispatcher.PSListener(['channel:ico:login'], 0)
    client.start()
